package com.fourforfo.fourmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fourforfo.common.utils.PageUtils;
import com.fourforfo.fourmall.ware.entity.WareInfoEntity;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 仓库信息
 *
 * @author fourforfo
 * @email fourforfo@gmail.com
 * @date 2022-06-16 12:41:34
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //根据地址id计算运费运费
    BigDecimal getFare(Long addrId);
}

